import { result } from "./hp_data.js";
window.onload = function () {
    let result_string = "\{\n";
    Object.keys(result).forEach((key, i, keyArr) => {
        result_string = result_string + `    ${key}: ${result[key]}, \n`;
    });
    result_string  = result_string + "  \}\n";
    console.log(result);
    document.getElementById("data-display").innerHTML = "";
    document.getElementById("data-display").innerHTML = result_string;
}